﻿#ifndef MY_HEADER_H
#define MY_HEADER_H
#include "xplaneConnect.h"
#include <graphics.h>
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <fstream>
#endif


#ifndef M_PI
#define M_PI 3.1415926535
#endif

void drawEWD(double x, double y, double w, double h, BYTE alpha, double LV, double angle);
void darwbk(double x, double y, double w, double h, BYTE alpha, double LV);
void font(double x, double y, double w, double h, BYTE alpha, double LV);
void rotate_point(double* x, double* y, double cx, double cy, double angle);
void draw_left(double x, double y, double w, double h, double angle, double LV, int alpha);
void draw_right(double x, double y, double w, double h, double angle, double LV, int alpha);
void upDate(double x, double y, double w, double h, BYTE alpha, double LV);
void ENG_font(double x, double y, double w, double h, BYTE alpha, double LV);
void DEFRD(double x, double y, double w, double h, BYTE alpha, double LV);
void ENG_bk(double x, double y, double w, double h, BYTE alpha, double LV);
void ENG_upDate(double x, double y, double w, double h, BYTE alpha, double LV);
void WHEEL_bk(double x, double y, double w, double h, BYTE alpha, double LV);
void WHEEL_font(double x, double y, double w, double h, BYTE alpha, double LV);
void WHEEL_upDate(double x, double y, double w, double h, BYTE alpha, double LV);
void WHEEL_circle_rectangle(double x, double y, double w, double h, BYTE alpha, double LV, double x1, double y1);
void date();

